package com.rpay.web.service;

import com.rpay.common.dto.basic.BasicDTO;
import com.rpay.service.basic.IBasicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author XXX
 * @mail XXX@hotmail.com
 * @date 2018/5/13
 * @Description:
 */
@Service
public class BasicService {
    @Autowired
    IBasicService iBasicService;

    public BasicDTO detail(String code) {
        BasicDTO info = iBasicService.findByCode(code);
        return info;
    }
}
